﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RprjDetails.aspx.cs" Inherits="Research.Web.RprjDetails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="TabStrip1" />    
    
    <ext:TabStrip ID="TabStrip1" runat="server" ActiveTabIndex="0" ShowBorder="True">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                <ext:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" Icon="SystemSave">
                </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Tabs>
            <ext:Tab ID="Tab1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                Title="项目信息">
                <Items>
                    <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        ShowBorder="False" ShowHeader="False" Title="Panel" Height="800px" Layout="Column">
                    <Items>
                    <ext:SimpleForm ID="sfBasicInfo" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="基本信息" Width="300px" Height="180px">
                        <Items>
                            <ext:TextBox ID="txtRprjNum" runat="server" Label="项目编号">
                            </ext:TextBox>
                            <ext:TextBox ID="txtRprjName" runat="server" Label="项目名称">
                            </ext:TextBox>
                            <ext:DropDownList ID="ddlPlatform" runat="server" Label="立项平台">
                            </ext:DropDownList>
                            <ext:DropDownList ID="ddlRprjRole" runat="server" Label="担任角色">
                            </ext:DropDownList> 
                        </Items>
                    </ext:SimpleForm>
        
                    <ext:SimpleForm ID="sfChargePer" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="项目负责人" Width="300px" Height="180px">
                    <Items>
                    <ext:TwinTriggerBox runat="server" Trigger1Icon="Clear" Trigger2Icon="Search" 
                                Label="负责人" ID="twinTrgBoxSearchPer" 
                                OnTrigger2Click="twinTrgBoxSearchPer_Trigger2Click" 
                                OnTrigger1Click="twinTrgBoxSearchPer_Trigger1Click" ShowTrigger1="False" 
                                ShowRedStar="True" Required="True">
                            </ext:TwinTriggerBox>
                            <ext:Grid ID="gridSearchPer" runat="server" AutoHeight="True" Hidden="True"
                                Title="Grid" ShowBorder="False" ShowGridHeader="False" 
                                ShowHeader="False" EnableRowClick="True" DataKeyNames="ChargePerID,ChargePerName"
                                OnRowClick="gridSearchPer_RowClick">
                                <Columns>
                                   <ext:BoundField Width="80px" DataField="LoginName" HeaderText="工号" />
                                   <ext:BoundField Width="80px" DataField="ChargePerName" HeaderText="姓名" />
                                   <ext:BoundField Width="80px" DataField="DepartName" HeaderText="部门" />
                                </Columns>
                            </ext:Grid>
                        <ext:Button ID="btnChargePerDel" runat="server" Text="删除" Icon="Delete"
                            OnClick="btnChargePerDel_Click">
                        </ext:Button>
                             <ext:Grid ID="gridChargePer" runat="server" Height="90px"
                                Title="负责人列表" ShowBorder="True" ShowGridHeader="True" 
                                ShowHeader="False" EnableCheckBoxSelect="True" EnableMultiSelect="False">
                                <Columns>
                                   <ext:BoundField Width="80px" DataField="ChargePerName" HeaderText="姓名" />
                                </Columns>
                            </ext:Grid> 
                    </Items>
                    </ext:SimpleForm> 
    
    
                     <ext:SimpleForm ID="sfProject" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="背景工程" Width="300px" Height="180px">
                    <Items>
                    <ext:TwinTriggerBox runat="server" Trigger1Icon="Clear" Trigger2Icon="Search" 
                                Label="工程编号" ID="twinTrgBoxSearchPrj" 
                                OnTrigger2Click="twinTrgBoxSearchPrj_Trigger2Click" 
                                OnTrigger1Click="twinTrgBoxSearchPrj_Trigger1Click" ShowTrigger1="False" 
                                ShowRedStar="True" Required="True">
                            </ext:TwinTriggerBox>
                        <ext:Button ID="btnPrjDel" runat="server" Text="删除" Icon="Delete"
                            OnClick="btnPrjDel_Click">
                        </ext:Button>
                             <ext:Grid ID="gridPrj" runat="server" Height="90px"
                                Title="背景工程列表" ShowBorder="True" ShowGridHeader="True" 
                                ShowHeader="False" EnableCheckBoxSelect="True" EnableMultiSelect="False">
                                <Columns>
                                   <ext:BoundField Width="80px" DataField="PrjNum" HeaderText="工程编号" />
                                   <ext:BoundField Width="150px" DataField="PrjName" HeaderText="工程名称" />
                                </Columns>
                            </ext:Grid> 
                    </Items>
                    </ext:SimpleForm> 
        
                     <ext:SimpleForm ID="sfDep" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="承担部门" Width="550px" Height="300px">
                        <Items>
                            <ext:CheckBoxList ID="chkDepList" runat="server" ColumnNumber="3"  Label="部门选择">
                            </ext:CheckBoxList>
                        </Items>
         
                    </ext:SimpleForm>
                    <ext:SimpleForm ID="sfSubject" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="相关专业" Width="350px"  Height="300px">
                        <Items>
                        <ext:CheckBoxList ID="chkSubjectList" runat="server" ColumnNumber="3" 
                                Label="专业选择">
                            </ext:CheckBoxList>
                        </Items>
                    </ext:SimpleForm>

                    </Items>
                    </ext:Panel>
                    

                </Items>
                
                

            </ext:Tab>
            
            
            <ext:Tab ID="Tab2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                Title="经费信息">
                <Items>
                    <ext:Panel ID="Panel2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        ShowBorder="False" ShowHeader="False" Title="Panel" Height="800px" Layout="Column">
                    <Items>
                     <ext:SimpleForm ID="sfFundComeIn" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="经费预算" Width="350px" Height="300px">
                        <Items>
                            <ext:DropDownList ID="ddlFund" runat="server" Label="经费类别">
                            </ext:DropDownList>
                            <ext:NumberBox ID="nbFundAmount" runat="server" Label="金额">
                            </ext:NumberBox>
                            <ext:TextBox ID="txtMemo" runat="server" Label="备注" Text="">
                            </ext:TextBox>
                            <ext:DatePicker ID="dpAddDate" runat="server" Label="添加日期">
                            </ext:DatePicker>

                            <ext:Button ID="btnFundComeInAdd" runat="server" Text="添加" CssStyle="float:left;" Icon="Add"
                                OnClick="btnFundComeInAdd_Click">
                            </ext:Button>
                            <ext:Button ID="btnFundComeInDel" runat="server" Text="删除" OnClick="btnFundComeInDel_Click" Icon="Delete">
                            </ext:Button>
                            <ext:Grid ID="gridFundComeIn" runat="server" EnableCheckBoxSelect="true" EnableRowNumber="true"
                                Title="Grid" ShowGridHeader="True" Height="130px" ShowHeader="False" 
                                EnableMultiSelect="False">
                            <Columns>
                                <ext:BoundField Width="60px" DataField="FundName" HeaderText="类别" />
                                <ext:BoundField Width="70px" DataField="Amount" HeaderText="金额" DataFormatString="{0:N}"/>
                                <ext:BoundField Width="70px" DataField="AddDate" HeaderText="日期" DataFormatString="{0:d}"/>
                                <ext:BoundField Width="80px" DataField="Memo" HeaderText="备注" />
                            </Columns>
                            </ext:Grid>
                        </Items>
                    </ext:SimpleForm>   
                    
                    
                    <ext:SimpleForm ID="SimpleForm1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                        Title="经费开支" Width="350px" Height="300px">
                        <Items>
                        </Items>
                    </ext:SimpleForm>   
                   </Items>
                  </ext:Panel>
                </Items>

            </ext:Tab>
        </Tabs>
    </ext:TabStrip>
    
    
    
    

        
   
    </form>
</body>
</html>
